package org.tlipoca.smuserdirectory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.genntii.smdomain.dto.UserDirectoryDTO;
import org.genntii.smdomain.entity.UserDirectory;

import java.util.ArrayList;

public interface UserDirectoryService extends IService<UserDirectory> {

    Boolean getUserDirectoryExistsService(Long directoryId);

    ArrayList<UserDirectory> getUserDirectoryService(Long currentId);

    void addUserDirectoryService(UserDirectoryDTO userDirectoryDTO,Long userId);

    void deleteUserDirectoryService(Long directoryId,Long userId);

    void deleteUserDirectoryBatchService(ArrayList<Long> directoryIds,Long userId);

    void updateUserDirectoryService(UserDirectoryDTO userDirectoryDTO, Long directoryId, Long userID);

    void updateUserDirectoryStatusService(Long directoryId, Integer status);

}
